#ifndef TestPatternTable_h
#define TestPatternTable_h

#include "QueryExpressionParser.h"
#include <cppunit/extensions/HelperMacros.h>

class PatternTableTest : public CPPUNIT_NS::TestFixture {
	private:
		CPPUNIT_TEST_SUITE( PatternTableTest );
		CPPUNIT_TEST( testConstructor );
		CPPUNIT_TEST( testAddPattern );
		CPPUNIT_TEST( testAddPatternWithSynArgument );
		CPPUNIT_TEST( testGetNumberOfEntries );
		CPPUNIT_TEST_SUITE_END();

		QueryExpressionParser *mQueryExpParser;
	public:
		void setUp();
		void tearDown();
		// Tests the constructor
		void testConstructor();
		// Tests the addPattern function
		void testAddPattern();
		// Tests the overloaded addPattern function that takes a synonym argument type
		void testAddPatternWithSynArgument();
		// Tests the getNumberOfEntries function
		void testGetNumberOfEntries();
};
#endif